package com.myHospital.dao;

import java.util.List;
import java.util.Map;

import com.myHospital.entity.Appointment;
import com.myHospital.entity.Patient;

public interface AppointmentDao {
	List<Appointment> getByUserId(int UserId);
	void addAppoint(Appointment appointment);
	List<Appointment> getAll();
	//多元查找
	public Appointment getByMap(Map<String,String> map);
}